<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        input{
            width: 30px;
            height: 30px;
        }
        input::after{
            height: 10px;
            width: 10px;
            content: url('images/01.jpg');
        }
        input:checked::after{
            width: 10px;
            height: 10px;
            content: url('images/02.jpg') ;
        }
</style>


</head>
<body>
    <input type="checkbox"><label>vue</label>
</body>
</html>